﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Streambolics.Gui
{
    public class DragStartEventArgs : EventArgs
    {
        public DragStartEventArgs (MouseEventArgs aMouseDownEvent)
        {
            MouseDownEvent = aMouseDownEvent;
            Effects = DragDropEffects.Copy | DragDropEffects.Move | DragDropEffects.Link;
        }

        /// <summary>
        ///     The MouseDown event that initiated the drag
        /// </summary>

        public MouseEventArgs MouseDownEvent
        {
            get;
            private set;
        }

        /// <summary>
        ///     The object to drag.
        /// </summary>

        public object DragObject
        {
            get;
            set;
        }

        /// <summary>
        ///     The cursor to use when dragging over an allowed
        ///     position.
        /// </summary>

        public Cursor DragCursor
        {
            get;
            set;
        }

        /// <summary>
        ///     The cursor to use when dragging over a disallowed
        ///     position
        /// </summary>

        public Cursor TransparentCursor
        {
            get;
            set;
        }

        /// <summary>
        ///     The drag & drop effects to allow.
        /// </summary>

        public DragDropEffects Effects
        {
            get;
            set;
        }
    }
}
